package com.itheima.reggie.dto;

import com.itheima.reggie.entity.OrderDetail;
import com.itheima.reggie.entity.Orders;
import lombok.Data;

import java.util.List;

@Data
public class OrdersDto extends Orders {

    //订单关联的订单详情
    private List<OrderDetail> OrderDetails;

    //用户名
    private String userName;

}
